package com.wm.blog_config_server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableDiscoveryClient  //consul
@EnableConfigServer   //config
@SpringBootApplication
public class BlogConfigServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(BlogConfigServerApplication.class, args);
    }

}
